package com.bmf.module.rbac.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bmf.core.result.PageResponse;
import com.bmf.core.result.R;
import com.bmf.module.rbac.entity.RbacUser;
import com.bmf.module.rbac.vo.*;

import java.util.List;


/**
 * (RbacUser)表服务接口
 *
 * @author makejava
 * @since 2022-12-27 15:33:18
 */
public interface RbacUserService extends IService<RbacUser> {

    R<UserLoginVo> login(RbacUser user);

    R logout();

    Integer insert(RbacUserCreateVo rbacUserCreateVo);

    void delete(List<Integer> ids);

    void update(RbacUserUpdateVo rbacUserUpdateVo);

    RbacUserResultVo select(Integer id);

    PageResponse<RbacUserResultVo> selectAll(RbacUserPageVo rbacUserPageVo);

    List<RbacUser> selectByOrganizationId(Integer id);
}
